package com.example.entity;

public class HealthMetrics {
    private int metricsid;//主键id
    private int userid;//用户id
    private String metricstype;//指标类型（血压，血糖，胆固醇）
    private String value;//指标数值
    private String unit;//该指标单位
    private String createtime;//记录时间

    public int getMetricsid() {
        return metricsid;
    }

    public void setMetricsid(int metricsid) {
        this.metricsid = metricsid;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getMetricstype() {
        return metricstype;
    }

    public void setMetricstype(String metricstype) {
        this.metricstype = metricstype;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "healthmetrics{" +
                "metricsid=" + metricsid +
                ", userid=" + userid +
                ", metricstype='" + metricstype + '\'' +
                ", value='" + value + '\'' +
                ", unit='" + unit + '\'' +
                ", createtime='" + createtime + '\'' +
                '}';
    }
}
